﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<MuaChung.Models.DONHANG>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	MyOrders
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="Message">
    <%: new HtmlString(ViewData["Message"].ToString()) %>
    </div>
    <h2>Các đơn hàng của bạn</h2>
    <script type="text/javascript">
        function TDOver(id) {
            $('#' + id).css("background-color", "#CCCCCCC");
        }
    </script>
    <div>
        <%using (Html.BeginForm("MyOrders","Orders")){ %>
        <fieldset>
            <legend>Danh sách đơn hàng</legend>
            <%Html.RenderAction("WUC_MyOrder", "Orders"); %>
        </fieldset>
        <input type="submit" name="Cancel" value="Hủy đơn hàng" />
        <%} %>
    </div>
    

</asp:Content>

